<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<%@ taglib uri="/WEB-INF/tld/c.tld" prefix="c" %>
<%@ page isELIgnored="false" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title></title>
<link href="css/_default.css" rel="stylesheet" type="text/css" />
<script type="text/javascript">
	function setClose(){
		this.close();
	}
</script>
</head>
<body>
<div class="popuppage">
	<center>
	<table class="popupcontent">
		<tr>
		  <td class="favoritetdtitle favoritetdtitle1">タレント名</td>
		  <td class="favoritetdtitle favoritetdtitle2">分類</td>
		  <td class="favoritetdtitle favoritetdtitle3">コンテンツ</td>
		</tr>
	    <s:iterator value="listKiniIri">
	    <tr>
	      <td class="favoritetd favoritetd1"><s:property value="talentKana" /></td>
	      <td class="favoritetd favoritetd2"><s:property value="bunYa" /></td>
	      <td class="favoritetd favoritetd3"><s:property value="title" /></td>
	    </tr>
	    </s:iterator>
	</table>
	<p>
	  <c:if test="${pageMap.prevPage != 0}">
        <c:url var="prevPage" value="memberFavorite.action" scope="request">
          <c:param name="curPage" value="${pageMap.prevPage}" />
          <c:param name="uqUserId" value="${uqUserId}" />
          <c:param name="usKensakuKubun" value="${usKensakuKubun}" />          
          <c:param name="usKensakuKomoku" value="${usKensakuKomoku}" />            
        </c:url>
        <a href="${prevPage}">≪</a>&nbsp;&nbsp;
      </c:if>
      <c:forEach var="i" begin="${pageMap.startPage}" end="${pageMap.endPage}" step="1">
        <c:url var="pageMove" value="memberFavorite.action" scope="request">
          <c:param name="curPage" value="${i}" />
          <c:param name="uqUserId" value="${uqUserId}" />
          <c:param name="usKensakuKubun" value="${usKensakuKubun}" />          
          <c:param name="usKensakuKomoku" value="${usKensakuKomoku}" />
        </c:url>
        <c:choose>
          <c:when test="${i==pageMap.curPage}">
            <a href="${pageMove}"><font color="red">${i}</font></a>
          </c:when>
          <c:otherwise>
            <a href="${pageMove}">${i}</a>
          </c:otherwise>
        </c:choose>
        <c:if test="${i<pageMap.endPage}">|</c:if>
      </c:forEach>
      <c:if test="${pageMap.nextPage != 0}">
        <c:url var="nextPage" value="memberFavorite.action" scope="request">
          <c:param name="curPage" value="${pageMap.nextPage}" />
          <c:param name="uqUserId" value="${uqUserId}" />
          <c:param name="usKensakuKubun" value="${usKensakuKubun}" />          
          <c:param name="usKensakuKomoku" value="${usKensakuKomoku}" />
        </c:url>
        &nbsp;&nbsp;<a href="${nextPage}">≫</a>
      </c:if>
    </p>
	<p><input type="button" value="閉じる" onclick="setClose()" class="btnDefault" /></p>
	</center>
</div>
</body>
</html>